<?php
namespace soa\orders\v1;

use soa\client;

class setWaybill extends client{
    /**
     * @var string
     */
    protected $service_url = 'http://order.core.kuaidihelp.com/';

    /**
     * @var string
     */
    protected $service_name = 'kuaidihelp_order2';

    //快递员设置已打印
    public function courier($orderInfo,$waybill,$shipperInform = 0)
    {
        return $this->post('v1/ThermalPaper/setExpressOrder', [
            "orderInfo" => $orderInfo,
            "no" => $waybill,
            "shipperInform" => $shipperInform,
        ]);
    }
}